﻿<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=8" />
<title>home</title>
<meta name="renderer" content="webkit">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="format-detection" content="telephone=no">

<link rel="stylesheet" href="plugin/layui/css/layui.css" media="all" />
<link rel="stylesheet" href="css/global.css" media="all">

</head>

<body>
	<div class="layui-layout layui-layout-admin" style="border-bottom: solid 5px #1aa094;">
		<div class="layui-header header header-demo">
			<div class="layui-main">
				<div class="admin-login-box">
					<a class="logo" style="left: 0;" href="javascript:;">
						<span style="font-size: 22px; color: white;">home</span>
					</a>

				</div>
				<ul class="layui-nav admin-header-item">
					<li class="layui-nav-item">
						<a href="javascript:;" class="admin-header-user">
							<!-- <img src="images/0.jpg" /> -->
							<span>个人中心</span>
						</a>
						<dl class="layui-nav-child">
							<dd>
								<a href="javascript:;" id="updatepwd">
									<i class="fa fa-user-circle" aria-hidden="true"></i>
									修改密码
								</a>
							</dd>
							<dd>
								<a href="javascript:;" id="logout">
									<i class="fa fa-sign-out" aria-hidden="true"></i>
									注销
								</a>
							</dd>
						</dl>
					</li>
				</ul>
				<ul class="layui-nav admin-header-item-mobile">
					<li class="layui-nav-item">
						<a href="login.html">
							<i class="fa fa-sign-out" aria-hidden="true"></i>
							注销
						</a>
					</li>
				</ul>
			</div>
		</div>
		<!-- 导航 -->
		<div class="layui-side layui-bg-black" id="admin-side">
			<div class="layui-side-scroll" id="admin-navbar-side" lay-filter="side"></div>
		</div>
		<div class="layui-body" style="bottom: 0; border-left: solid 2px #1AA094;" id="admin-body">
			<div class="layui-tab admin-nav-card layui-tab-brief" lay-filter="admin-tab">
				<ul class="layui-tab-title">
					<li class="layui-this">
						<i class="fa fa-dashboard" aria-hidden="true"></i>
						<cite>主页</cite>
					</li>
				</ul>
				<div class="layui-tab-content" style="min-height: 150px; padding: 5px 0 0 0;">
					<div class="layui-tab-item layui-show">
						<iframe src="location?location=home"></iframe>
					</div>
				</div>
			</div>
		</div>

		<div class="site-tree-mobile layui-hide">
			<i class="layui-icon">&#xe602;</i>
		</div>
		<div class="site-mobile-shade"></div>
	</div>
	<form id="logoutForm" action="logout" target="_parent" method="post"></form>
</body>

</html>

<script type="text/javascript" src="plugin/layui/layui.js"></script>
<script type="text/javascript" src="datas/nav.js"></script>
<script src="js/index.js"></script>
<script>
layui.use(['layer','jquery'], function() {
	var $ = layui.jquery, layer = layui.layer;
	//修改密码
	$("#updatepwd").click(function(){
		tab.tabAdd({
			title:"修改密码",
			href:"system/personalCenter/changePassword"
		})
	})
	$("#logout").click(function() {
		$("#logoutForm").submit();
	});
});
</script>